<div class="layuimini-container">
    <form id="app-form" method="post" class="layui-form layuimini-form">
        {volist name="config_file_data" id="data"}
        <div class="layui-form-item">
            <label class="layui-form-label">{$data["title"]}</label>
            <div class="layui-input-block">
                {if $data['type']=="radio"}
                {volist name="data['extra']" id="extra_data"}
                    <input type="{$data['type']}" name="{$data['name']}" class="layui-input"  title="{$extra_data}" {if $key == $data['value'] } checked="" {/if} value="{$key}">
                {/volist}
                {elseif $data['type']=="textarea"}
                    <textarea placeholder="请输入{$data['title']}"  name="{$data['name']}" class="layui-textarea">{$data['value']}</textarea>
                {else/}
                    <input type="{$data['type']}" name="{$data['name']}" class="layui-input"  placeholder="请输入{$data['title']}" value="{$data['value']}">
                {/if}
            </div>
        </div>
        {/volist}
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>